home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Utilities Professional 1-1500
/
Utilities Professional 1-1500 (1994)(WPD)[!].iso
/
12511500
/
var1286.dms
/
var1286.adf
/
printers
/
IBMColorJet
/
CPD
< prev
next >
Wrap
Text File
|
1992-09-02
|
600b
|
25 lines
.Key file,opt1,opt2,opt3
ECHO "Amiga C - Compile Printer Driver Script file"
IF "<file>" EQ ""
ECHO "+++ NO FILE GIVEN. Compilation aborted. +++"
ECHO "USAGE: Execute CPD FileToCompile Opt1 Opt2 Opt3
SKIP END
ENDIF
IF NOT EXISTS <file>.c
ECHO "File <file>.c does not exist. Try again."
SKIP END
ENDIF
ECHO "-- Compiling...<file>.c"
COMPILE:LC1 <opt1> <opt2> <opt3> -iINCLUDE: -iINCLUDE:lattice/ <file>
FailAt 21
IF NOT EXISTS "<file>.q"
ECHO "Compile Failed."
List p <file>#?
QUIT 20
ENDIF
COMPILE:LC2 -v <file>
ECHO "-- Done Compiling <file> --"
LAB END
CD
List p <file>#?